/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Mod8_Ex2;

/**
 *
 * @author Root
 */
public class OverDraftException extends Exception {
    double deficit ;

    public OverDraftException(String message,double  deficit) {
        super(message);
        this.deficit=deficit;
    }

    public double getDeficit() {
        return deficit;
    }


}
